function [result] = string_fromline(dstr, a, n)
result=[];
ntok=length(a);
if(n < length(a))
   result=dstr(a(n)+1:a(n+1));
else
   if(n == length(a)) result=dstr(a(ntok):length(dstr));
   end
end
return;
